GUIUtils{
	*darkerColor{|color|
		var hsv;
		hsv = color.asHSV;
		^Color(hsv[0], hsv[1], hsv[2], hsv[3]);
	}
	
	*popupWindow{|windowW = 300, windowH=300|
		
		var bounds, window;
		
		bounds = Rect(Ripple.getMainWindowBounds.left + 15, Ripple.getMainWindowBounds.top, windowW, windowH);	
		window = FlowView.new(SCWindow.new('', bounds).front, Rect(0, 0, windowW, windowH));
		window.background_(MPGuiConstants.getBackground);
		window.decorator.gap_(0@0);
		window.decorator.margin_(5@0);
		
		^window;		

	}
}
